package com.biz.model.Hmodel.sys;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * Menu entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="a_menu")

public class Menu  implements java.io.Serializable {
    // Fields    
     private String id;
     private String pid;
     private String name;
     private String url;
     private String iconCls;
     private Short isOpen;
     private Short isDel;


    // Constructors

    /** default constructor */
    public Menu() {
    }

    
    /** full constructor */
    public Menu(String pid, String name, String url, String iconCls, Short isOpen, Short isDel) {
        this.pid = pid;
        this.name = name;
        this.url = url;
        this.iconCls = iconCls;
        this.isOpen = isOpen;
        this.isDel = isDel;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="uuid.hex")@Id @GeneratedValue(generator="generator")
    
    @Column(name="id", unique=true, nullable=false, length=50)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="pid", length=50)

    public String getPid() {
        return this.pid;
    }
    
    public void setPid(String pid) {
        this.pid = pid;
    }
    
    @Column(name="name")

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    @Column(name="url")

    public String getUrl() {
        return this.url;
    }
    
    public void setUrl(String url) {
        this.url = url;
    }
    
    @Column(name="iconCls", length=250)

    public String getIconCls() {
        return this.iconCls;
    }
    
    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }
    
    @Column(name="isOpen")

    public Short getIsOpen() {
        return this.isOpen;
    }
    
    public void setIsOpen(Short isOpen) {
        this.isOpen = isOpen;
    }
    
    @Column(name="isDel")

    public Short getIsDel() {
        return this.isDel;
    }
    
    public void setIsDel(Short isDel) {
        this.isDel = isDel;
    }
   








}